﻿
	using System; 
	using System.Collections;
	using System.Collections.Generic ;
	using System.Runtime.Serialization;

namespace UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil
{
	/// <summary>
	/// 应付单表行 缺省DTO 
	/// 
	/// </summary>
	[DataContract(Name = "UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil.APbilLineData", Namespace = "http://www.UFIDA.org/EntityData",IsReference=true)]	
	[Serializable]
    [KnownType("GetKnownTypes")]
	public partial class APbilLineData : UFSoft.UBF.Business.DataTransObjectBase
	{

	    public static IList<Type> GetKnownTypes()
        {
            IList<Type> knownTypes = new List<Type>();
            
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                                        knownTypes.Add(typeof(UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil.APbilHeadData));
                        
                        
            
                knownTypes.Add(typeof(UFSoft.UBF.Util.Data.MultiLangDataDict));
            return knownTypes;
        }
		/// <summary>
		/// Default Constructor
		/// </summary>
		public APbilLineData()
		{
			initData() ;
		}
		private void initData()
		{
			//设置默认值
	     			
	     			
	     			
	     			
	     			
	     							SysVersion= 0; 			     			
	     			
	     			
	     			
	     			
	     			
	     			
	     			
	     			
	     							IsToSRM=false; 
	     							PushCount= 0; 		

			//设置组合的集合属性为List<>对象. -目前直接在属性上处理.
			
			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}		
		[System.Runtime.Serialization.OnDeserializing]
        internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
        {
			 initData();
        }
        
		#region System Fields
		///<summary>
		/// 实体类型. 
		/// </summary>
		[DataMember(IsRequired=false)]
		public override string SysEntityType
		{
			get { return "UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil.APbilLine" ;}
		}
		#endregion


		
		#region Properties Inner Component
	        			
			private UFSoft.UBF.Business.BusinessEntity.EntityKey m_aPbilHead_SKey ;
			/// <summary>
			/// 应付单表头 序列化Key属性。（传递跨组织序列列字段）
			/// 应付单表行.Misc.应付单表头
			/// </summary>
			[DataMember(IsRequired=false)]
			public UFSoft.UBF.Business.BusinessEntity.EntityKey APbilHead_SKey
			{
				get 
				{
					return m_aPbilHead_SKey ;					
				}
				set
				{
					m_aPbilHead_SKey = value ;	
				}
			}
		/// <summary>
		/// 应付单表头
		/// 应付单表行.Misc.应付单表头
		/// </summary>
		[DataMember(IsRequired=false)]
		private UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil.APbilHeadData m_aPbilHead;
		public UFIDA.U9.Cust.HWProject.CreateAPBillHead.APBil.APbilHeadData APbilHead
		{
			get	
			{	
				return m_aPbilHead ;
			}
			set	
			{	
				m_aPbilHead = value ;
			}
		}		

			
		#endregion	

		#region Properties Outer Component
		
				/// <summary>
		/// ID
		/// 应付单表行.Key.ID
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_iD ;
		public System.Int64 ID
		{
			get	
			{	
				return m_iD  ;
			}
			set	
			{	
				m_iD = value ;	
			}
		}
		

				/// <summary>
		/// 创建时间
		/// 应付单表行.Sys.创建时间
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.DateTime m_createdOn ;
		public System.DateTime CreatedOn
		{
			get	
			{	
				return m_createdOn  ;
			}
			set	
			{	
				m_createdOn = value ;	
			}
		}
		

				/// <summary>
		/// 创建人
		/// 应付单表行.Sys.创建人
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_createdBy ;
		public System.String CreatedBy
		{
			get	
			{	
				return m_createdBy  ;
			}
			set	
			{	
				m_createdBy = value ;	
			}
		}
		

				/// <summary>
		/// 修改时间
		/// 应付单表行.Sys.修改时间
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.DateTime m_modifiedOn ;
		public System.DateTime ModifiedOn
		{
			get	
			{	
				return m_modifiedOn  ;
			}
			set	
			{	
				m_modifiedOn = value ;	
			}
		}
		

				/// <summary>
		/// 修改人
		/// 应付单表行.Sys.修改人
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_modifiedBy ;
		public System.String ModifiedBy
		{
			get	
			{	
				return m_modifiedBy  ;
			}
			set	
			{	
				m_modifiedBy = value ;	
			}
		}
		

				/// <summary>
		/// 事务版本
		/// 应付单表行.Sys.事务版本
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_sysVersion ;
		public System.Int64 SysVersion
		{
			get	
			{	
				return m_sysVersion  ;
			}
			set	
			{	
				m_sysVersion = value ;	
			}
		}
		

				/// <summary>
		/// 料品编码
		/// 应付单表行.Misc.料品编码
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_itemCode ;
		public System.String ItemCode
		{
			get	
			{	
				return m_itemCode  ;
			}
			set	
			{	
				m_itemCode = value ;	
			}
		}
		

				/// <summary>
		/// 数量
		/// 应付单表行.Misc.数量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_qty ;
		public System.String Qty
		{
			get	
			{	
				return m_qty  ;
			}
			set	
			{	
				m_qty = value ;	
			}
		}
		

				/// <summary>
		/// 来源单号
		/// 应付单表行.Misc.来源单号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_srcDocNo ;
		public System.String SrcDocNo
		{
			get	
			{	
				return m_srcDocNo  ;
			}
			set	
			{	
				m_srcDocNo = value ;	
			}
		}
		

				/// <summary>
		/// 来源行号
		/// 应付单表行.Misc.来源行号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_srcDocLineNo ;
		public System.String SrcDocLineNo
		{
			get	
			{	
				return m_srcDocLineNo  ;
			}
			set	
			{	
				m_srcDocLineNo = value ;	
			}
		}
		

				/// <summary>
		/// 交期
		/// 应付单表行.Misc.交期
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_shipmentDate ;
		public System.String ShipmentDate
		{
			get	
			{	
				return m_shipmentDate  ;
			}
			set	
			{	
				m_shipmentDate = value ;	
			}
		}
		

				/// <summary>
		/// 价格
		/// 应付单表行.Misc.价格
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_price ;
		public System.String Price
		{
			get	
			{	
				return m_price  ;
			}
			set	
			{	
				m_price = value ;	
			}
		}
		

				/// <summary>
		/// 税组合
		/// 应付单表行.Misc.税组合
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_taxSchedule ;
		public System.String TaxSchedule
		{
			get	
			{	
				return m_taxSchedule  ;
			}
			set	
			{	
				m_taxSchedule = value ;	
			}
		}
		

				/// <summary>
		/// 存储地点编码
		/// 应付单表行.Misc.存储地点编码
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_whCode ;
		public System.String WhCode
		{
			get	
			{	
				return m_whCode  ;
			}
			set	
			{	
				m_whCode = value ;	
			}
		}
		

				/// <summary>
		/// 是否已推送SRM
		/// 应付单表行.Misc.是否已推送SRM
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Boolean m_isToSRM ;
		public System.Boolean IsToSRM
		{
			get	
			{	
				return m_isToSRM  ;
			}
			set	
			{	
				m_isToSRM = value ;	
			}
		}
		

				/// <summary>
		/// 推送次数
		/// 应付单表行.Misc.推送次数
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int32 m_pushCount ;
		public System.Int32 PushCount
		{
			get	
			{	
				return m_pushCount  ;
			}
			set	
			{	
				m_pushCount = value ;	
			}
		}
		
		#endregion	

		#region Multi_Fields
																	
		#endregion 		
	}	

}

